package com.livestocksolutions;

import java.util.Date;

/* -- Version History --
 *  1.0 : 13 July 2012 - Initial version.
 *  
 *  1.1 : 16 July 2012 - Class now implements Serializable
 *  
 *  1.2 : 19 September 2012 - added extra Constructor to accept a date.
 *  
 *  1.3 : 24 September 2012 - Parent Class no longer implements Serializable
 */

/**
 * This class provides a history use for a Medicine.
 * @author Adam Parr
 * @version 1.3
 * 
 * @.modified 16 March 2013
 */
public class MedicineHistory extends ChemicineHistory<UsedMedicine>{
	/**
	 * Create a medicines usage history.
	 * @param medicine the medicine to add.
	 * @param quantity amount of the medicine used.
	 * @param measurement units the quantity is measured in.
	 */
	public MedicineHistory(Medicine medicine, double quantity, String measurement) {
		super(medicine, quantity, measurement);
	}
	
	/**
	 * Create a medicines usage history
	 * @param medicine the medicine to add 
	 * @param quantity amount of the medicine used
	 * @param measurement units the quantity is measured in
	 * @param date The date this Medicine was used.
	 */
	public MedicineHistory(Medicine medicine, double quantity, String measurement, Date date) {
		super(medicine, quantity, measurement, date);
	}

}
